
package pri.syl.xiaowu.websocket.netty.core.factory.constant;

import pri.syl.xiaowu.websocket.netty.core.factory.ThreadPoolFactory;

import java.util.concurrent.ThreadPoolExecutor;

/**
 * @Author YunLong
 * @Date 2021/7/18 18:52
 * @Description 线程池工厂常量
 **/
public final class ThreadPoolFactoryConstant {
    public static final ThreadPoolExecutor HTTP_SERVER_HANDSHAKE_THREAD_POOL = ThreadPoolFactory.createHttpServerHandshakeThreadPool();
    public static final ThreadPoolExecutor WEBSOCKET_SERVER_BUSINESS_THREAD_POOL = ThreadPoolFactory.createWebsocketServerBusinessThreadPool();
    public static final ThreadPoolExecutor WEBSOCKET_SERVER_INIT_THREAD_POOL = ThreadPoolFactory.createWebsocketServerInitThreadPool();

    private ThreadPoolFactoryConstant() {
    }
}
